package jTableTest;

public class StringProcessor {
    
    public static int countLines(String str) {
        String[] lines = str.split("\r\n|\r|\n");
        return lines.length;
    }
    
    public static String[] splitLines(String str) {
        String[] lines = str.split("\r\n|\r|\n");
        return lines;
    }

}
